﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Blog.Models.Entities;
using MvcEngine.Core.Pagination;

namespace MvcEngine.Blog.Managers
{
    public interface IBlogCategoryManager
    {
        void Save(BlogCategory category);

        void Delete(Guid categoryId);

        IList<BlogCategory> GetAll(Guid blogId);

        BlogCategory Get(Guid categoryId);

        IPagination<BlogCategory> Get(Guid blogId, int pageNumber, int pageSize);

        IList<BlogCategory> GetAllByPost(Guid postId);
    }
}
